body {
    background-color: #f5f5f5;
}

.jd-layout {
    min-width: 300px;
    max-width: 640px;
    margin: 0 auto;
    position: relative;
}

/*搜索头部*/
.jd-header {
    position: fixed;
    top: 0;
    left: 0;
    height: 40px;
    width: 100%;

    z-index: 100;
}

.jd-header-box {
    min-width: 300px;
    max-width: 640px;
    margin: 0 auto;
    position: relative;
    background: rgba(201, 21, 35, 0.85);
    height: 100%;
}

.jd-header > .jd-header-box > .icon-logo {
    background-position: 0 -103px;
    width: 60px;
    height: 36px;
    display: block;
    position: absolute;
    top: 4px;
    left: 10px;
}

.jd-header > .jd-header-box > form {
    width: 100%;
    height: 100%;
    padding-left: 75px;
    padding-right: 55px;
    position: relative;
}

.jd-header > .jd-header-box > form > .icon-search {
    width: 20px;
    height: 20px;
    background-position: -60px -109px;
    position: absolute;
    left: 85px;
    top: 10px;
}

.jd-header > .jd-header-box > form > input {
    width: 100%;
    height: 30px;
    border-radius: 15px;
    margin-top: 5px;
    padding-left: 30px;
}

.jd-header > .jd-header-box > .login {
    width: 50px;
    height: 40px;
    display: block;
    text-align: center;
    line-height: 40px;
    font-size: 15px;
    color: #ffffff;
    position: absolute;
    top: 0;
    right: 0;
}

/*轮播图*/
.jd-banner {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.jd-banner > ul:first-child {
    width: 800%;
}

.jd-banner > ul:first-child > li {
    width: 12.5%;
    float: left;
}

.jd-banner > ul:first-child > li > img {
    width: 100%;
    display: block;
}

/*点*/
.jd-banner ul:last-child {
    width: 118px;
    height: 6px;
    position: absolute;
    left: 50%;
    margin-left: -59px;
    bottom: 10px;
}

.jd-banner ul:last-child li {
    width: 6px;
    height: 6px;
    border: 1px solid #fff;
    border-radius: 3px;
    margin-left: 10px;
    float: left;
}

.jd-banner ul:last-child li:first-child {
    margin-left: 0;
}

.jd-banner ul:last-child li.now {
    background: #fff;
}

/*导航*/
.jd-nav {
    height: 150px;
    border: 1px solid #e0e0e0;
    padding: 0 3.125%;
    background-color: #fff;
}

.jd-nav > ul {
    margin-top: 11px;
}

.jd-nav > ul > li {
    width: 25%;
    height: 69px;
    float: left;
}

.jd-nav > ul > li > a {
    display: block;
    width: 100%;
    text-align: center;
}

.jd-nav > ul > li > a > img {
    width: 40px;
    height: 40px;
    vertical-align: top;
}

.jd-nav > ul > li > a > p {
    margin-top: 3px;
    font-size: 12px;
    color: #666;
}

/*京东商品*/

.jd-products {
    padding: 0 5px;
}

/*公共使用的商品盒子*/
.jd-products .jd-product-item {
    margin-top: 10px;
    box-shadow: 0 0 10px 1px #e0e0e0;
    background-color: #fff;
}

/*盒子的上部分*/
.jd-products .jd-product-item {
    font-size: 15px;
}

.jd-products .jd-product-item .jd-product-top {
    padding: 0 10px;
    height: 32px;
    line-height: 32px;
    border-bottom: 1px solid #e0e0e0;
}

.jd-products .jd-product-item:first-child .jd-product-top {
    border-bottom: none;
}

.jd-products .jd-product-item .jd-product-bot {
    padding: 10px;
}

.jd-products .jd-product-item + .jd-product-item .jd-product-top > h3 {
    font-size: 15px;
    color: #737373;
    position: relative;
    line-height: 32px;
    padding-left: 10px;
}

.jd-products .jd-product-item + .jd-product-item .jd-product-top > h3::before {
    content: "";
    width: 3px;
    height: 12px;
    background-color: #d8505c;
    position: absolute;
    left: 0;
    top: 10px;
}

/*京东秒杀*/
.jd-products > .jd-second-kill > .jd-product-top > .jd-second-kill-left > .sk-icon {
    display: inline-block;
    width: 16px;
    height: 20px;
    background-image: url("../images/seckill-icon.png");
    background-repeat: no-repeat;
    background-size: cover;
    margin-top: 5px;
}

.jd-products > .jd-second-kill > .jd-product-top > .jd-second-kill-left > .sk-name {
    color: #d8505c;
    font-size: 15px;
    padding-left: 20px;
    position: relative;
}

.jd-products > .jd-second-kill > .jd-product-top > .jd-second-kill-left > .sk-name::before {
    content: "";
    width: 16px;
    height: 20px;
    background-image: url("../images/seckill-icon.png");
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    top: 5px;
    left: 0px;
}

.jd-products > .jd-second-kill > .jd-product-top > .jd-second-kill-left > .sk-time {
    margin-left: 10px;
}

.jd-products > .jd-second-kill > .jd-product-top > .jd-second-kill-left > .sk-time > span {
    background-color: #333;
    color: white;
    padding: 0 3px;
}

.jd-products > .jd-second-kill > .jd-product-top > .jd-second-kill-left > .sk-time > span:nth-child(3n) {
    background-color: transparent;
    color: #333;
    padding: 0;
}

.jd-second-kill > .jd-product-bot > a {
    width: 33.33%;
    float: left;
}

.jd-second-kill > .jd-product-bot > a + a > .jd-second-kill-pd {
    border-left: 1px solid #e0e0e0;
}

.jd-second-kill > .jd-product-bot > a > .jd-second-kill-pd {
    text-align: center;
}

.jd-second-kill > .jd-product-bot > a > .jd-second-kill-pd > img {
    width: 60%;
}

.jd-second-kill > .jd-product-bot > a > p {
    text-align: center;
    line-height: 20px;
}

.jd-second-kill > .jd-product-bot > a > .jd-second-kill-price {
    color: #d8505c;
}

.jd-second-kill > .jd-product-bot > a > .jd-second-kill-price-before {
    color: #737373;
    text-decoration: line-through;
}

/*超值购*/
.jd-product-item+.jd-product-item > .jd-product-bot > a {
    width: 50%;
}
.jd-product-item > .jd-product-bot > a > img {
    width: 100%;
}

/*左边为大图*/
.jd-product-item > .pd-big-left > a {
    float: left;
}

.jd-product-item > .pd-big-left > a:nth-child(1) {
    border-right: 1px solid #e0e0e0;
}

.jd-product-item > .pd-big-left > a:nth-child(2) {
    border-bottom: 1px solid #e0e0e0;
}

.jd-product-item > .pd-big-left > a + a {
    float: right;
}

/*右边为大图*/

.jd-product-item > .pd-big-right > a {
    float: right;
}

.jd-product-item > .pd-big-right > a:nth-child(1) {
    border-left: 1px solid #e0e0e0;
}

.jd-product-item > .pd-big-right > a:nth-child(2) {
    border-bottom: 1px solid #e0e0e0;
}

.jd-product-item > .pd-big-right > a + a {
    float: left;
}
